﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FinalTest_Algonrithm
{
    public class LightValue
    {
        public double[] blockValue;
    }

    public class SFRValue
    {
        public double dZ;

        public BlockValue[] block;
    }

    public class BlockValue
    {
        public double dX;

        public double dY;

        public double dValue;

        public double[] aryValue;
    }

    public class RectInfo
    {
        public Point[][] Points;
    }
    public class ParamIn
    {
        public double dPixelSize = 1.00;
        public int n_ImageWidth = 1280;
        public int n_ImageHeight = 960;


        public int nCenterROIW = 400;
        public int nCenterROIH = 400;


        public double dCorner1XField = 0.6;
        public double dCorner1YField = 0.6;
        public int nCorner1ROIW = 200;
        public int nCorner1ROIH = 200;
        public bool bCorner1Top = false;
        public bool bCorner1Right = false;
        public bool bCorner1Left = false;
        public bool bCorner1Bottom = false;

        public bool bCrossTop = false;
        public bool bCrossRight = false;
        public bool bCrossLeft = false;
        public bool bCrossBottom = false;
        public int nCrossROIW = 200;
        public int nCrossROIH = 200;
        public double dCrossXField = 0.6;
        public double dCrossYField = 0.6;

        public double OC_Pass_X = 5;
        public double OC_Pass_Y = 5;
        public double CenterSFR_Pass = 30;
        public double ConnerSFR_Pass = 30;

        public bool bCenterTop = false;
        public bool bCenterRight = false;
        public bool bCenterLeft = false;
        public bool bCenterBottom = false;
        public double nSFRROI_Width = 40;
        public double nSFRROI_Height = 40;



    }
}
